package com.huajin.gateway.netcard.domain;

public class NetCard {
    private String name;
    private String ip;
    private String mask;
    private String mac;
    private boolean status;
    private String mtu;
    private boolean dynamic;//1:dhcp  0:static

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public boolean getStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMtu() {
        return mtu;
    }

    public void setMtu(String mtu) {
        this.mtu = mtu;
    }

    public boolean getDynamic() {
        return dynamic;
    }

    public void setDynamic(boolean dynamic) {
        this.dynamic = dynamic;
    }

    @Override
    public String toString() {
        return "NetCard{" +
                "name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", mask='" + mask + '\'' +
                ", mac='" + mac + '\'' +
                ", status='" + status + '\'' +
                ", mtu=" + mtu +
                ", dynamic=" + dynamic +
                '}';
    }
}
